package cn.stylefeng.guns.modular.fruits.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;

/**
 * 成品包装
 */
@TableName("fruits_packing")
@Data
public class FruitsPacking implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 状态
     */
    @TableField("states")
    private String states;

    /**
     * 时间
     */
    @TableField("times")
    private String times;

    /**
     * 包装人编码
     */
    @TableField("user_number")
    private String userNumber;

    /**
     * 包装人姓名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 商品id
     */
    @TableField("goods_id")
    private Long goodsId;

    /**
     * 商品名称
     */
    @TableField("goods_name")
    private String goodsName;

    /**
     * 等级
     */
    @TableField("grades")
    private String grades;

    /**
     * 每箱重量
     */
    @TableField("case_weight_one")
    private String caseWeightOne;

    /**
     * 箱规
     */
    @TableField("case_specs")
    private String caseSpecs;

    /**
     * 箱皮
     */
    @TableField("case_weight")
    private String caseWeight;

    /**
     * 毛重
     */
    @TableField("gweight")
    private String gweight;

    /**
     * 净重
     */
    @TableField("nweight")
    private String nweight;

    /**
     * 数量
     */
    @TableField("nums")
    private String nums;

    /**
     * 生产日期
     */
    @TableField("producetime")
    private String producetime;

    /**
     * 库位
     */
    @TableField("position_number")
    private String positionNumber;

    /**
     * 部门id
     */
    @TableField("dept_id")
    private Long deptId;

    /**
     * v1
     */
    @TableField("v1")
    private String v1;

    /**
     * v2
     */
    @TableField("v2")
    private String v2;

    /**
     * v3
     */
    @TableField("v3")
    private String v3;

    /**
     * v4
     */
    @TableField("v4")
    private String v4;

    @Override
    public String toString() {
        return "FruitsPacking{" +
        "id=" + id +
        ", states=" + states +
        ", times=" + times +
        ", userNumber=" + userNumber +
        ", userName=" + userName +
        ", goodsId=" + goodsId +
        ", goodsName=" + goodsName +
        ", grades=" + grades +
        ", caseWeightOne=" + caseWeightOne +
        ", caseSpecs=" + caseSpecs +
        ", caseWeight=" + caseWeight +
        ", gweight=" + gweight +
        ", nweight=" + nweight +
        ", nums=" + nums +
        ", producetime=" + producetime +
        ", positionNumber=" + positionNumber +
        ", deptId=" + deptId +
        ", v1=" + v1 +
        ", v2=" + v2 +
        ", v3=" + v3 +
        ", v4=" + v4 +
        "}";
    }
}
